package com.bitdf.txing.group.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bitdf.txing.common.utils.PageUtils;
import com.bitdf.txing.group.entity.GroupInfoEntity;
import com.bitdf.txing.group.to.GroupInfoTo;
import com.bitdf.txing.group.vo.HomeHotVo;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author Lizhiwei
 * @email 123@qq.com
 * @date 2022-09-05 16:02:12
 */
public interface GroupInfoService extends IService<GroupInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    Boolean modifyLikeByGroupId(Long groupId) throws IOException;

    Boolean modifyViewCount(Long groupId) throws IOException;

    Boolean saveGroupInfoTo(GroupInfoTo groupInfoTo) throws IOException;


    boolean syncDatabase(List<GroupInfoTo> list) throws Exception;
}

